<?php
namespace app\common\validate;

use think\Validate;

class AuthRuleValidate extends Validate
{
    // 验证规则
    protected $rule = [
        'rule_pid|父级规则'  => 'require',
        'title|权限名称'     => 'require',
        'status|状态'      => 'require',
        'ismenu|是否在菜单显示' => 'require',
        'rule_sort|排序'   => 'require',
    ];
}